
export const tableOption = {
  border: true,
  stripe: true,
  searchMenuSpan: 6,
  index: true,
  indexLabel: "序号",
  labelWidth: "100",
  searchSpan: 7,
  editBtn: false,
  align: "center",
  column: [{
      label: "标题",
      prop: "title",
      span: 24,
      rules: [{
        required: true,
        message: "请输入"
      }]
    },{
      label: "活动时间",
      prop: "time",
      type: 'daterange',
      slot: true,
      span: 24,
      rules: [{
        required: true,
        message: "请输入"
      }]
    },{
      label: '主图',
      prop: 'pic',
      span: 24,
      limit: 1,
      type: 'upload',
      listType: 'picture-img',
      tip: '上传主图，大小不要超过1M',
      oss: 'qiniu',
      propsHttp: {
        name: 'name',
        url: "key"
      },
      rules: [{
        required: true,
        message: '请上传'
      }]
    },{
      label: "活动内容",
      prop: "des",
      type: 'textarea',
      overHidden: true,
      span: 24,
      rules: [{
        required: true,
        message: "请输入"
      }]
    }
  ]
};